
<image_wall></image_wall>
<div class="open_info">
	<div class="box">
		<div class="item">
		营业时间： 
		{{bus_info.info.open_time.s_hour+":"+bus_info.info.open_time.s_min}} - {{bus_info.info.open_time.e_hour+":"+bus_info.info.open_time.e_min}}
		</div>
		<div class="item">
		联系电话：{{bus_info.info.mobile_phone}}
		</div>
	</div>
</div>
<xmp type="tag" name="image_wall">
	<div class="image_wall">
		{{#if bus_info.config.home_imgs.length}}
		{{#each bus_info.config.home_imgs}}
		<img style="display:{{$Index==0&&'block'}}" bind-src="{{img_url}}"/>
		{{/each}}
		{{#else}}
		<img src="/images/catering.default.jpg" />
		{{/if}}
	</div>
	<script type="text/vm">
		function(vm){
			var imgbox=vm.queryElement({
				className:"image_wall"
			})[0];
			require(['jQuery'],function($){
				var $imgs=$(imgbox).find("img");
				var len=$imgs.length;
				var image_wall_init = 0;
				var $height=($(imgbox).width()*0.28038)+"px";
				$(imgbox).css({"height":$height});
				if(len>1){
					var timer=setInterval(function(){
						$($imgs[image_wall_init%len]).fadeOut(800);
						$($imgs[(image_wall_init+1)%len]).fadeIn(800);
						image_wall_init+=1;
					},4500);
				}else{
					$($imgs[0]).fadeIn(300);
				};
			});
		}
	</script>
</xmp>